package cn.mldn.microcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) // 取消自带的单数据源部署
@ComponentScan(basePackages = { "cn.mldn.microcloud", "cn.mldn.microcloud.mapper", "cn.mldn.microcloud.*" }) // 扫描需要的包,包含一些工具包所在类
@MapperScan(basePackages = { "cn.mldn.microcloud.mapper.**" })
public class Dept_8001_StartSpringCloudApplication {
	public static void main(String[] args) {
		SpringApplication.run(Dept_8001_StartSpringCloudApplication.class, args);
		// cs
	}
}
